
/*
 * @Author: ljkt
 * @Version: 2.0
 * @Date: 2021-12-01 14:27:01
 * @LastEditors: ljkt
 * @LastEditTime: 2025-01-28 21:45:41
 * @Description:
 */
#include "./Common_Include.h"
#if defined(EN_TIMER0) || defined(EN_TIMER1) || defined(EN_TIMER2) || defined(EN_TIMER3)
CONST s_tmrx_config_t timer_config_tab[e_HAL_TIMER_MAX] = DRV_TIMERX_CONFIG_TAB;
void Drv_Tmrx_Init(void)
{
    Ram unsigned char name;
    for (name = 0; name < ARR_CNT(timer_config_tab); name++)
    {
        Hal_Tmrx_Init(&timer_config_tab[name]);
    }
}
void Drv_Tmrx_Clr_IF(unsigned char index)
{
    s_tmrx_config_t *p_config = &timer_config_tab[index];
    Hal_Tmrx_IF_Clr(p_config);
}
#endif